package org.darcy.dao.org;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.darcy.entity.org.Department;
import org.darcy.framework.generic.GenericDao;

import com.baomidou.mybatisplus.core.metadata.IPage;

public interface DepartmentMapper extends GenericDao<Department> {
	
	/**
	 * 分页查询
	 */
	IPage<Department> getPage(IPage<Department> page, @Param("depart") Department param);
	
	/**
	 * 列表查询
	 */
	List<Department> getDepartments(@Param("depart") Department department);

}
